[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
U_ADDR() VARIABLE ARRAY
Function
Allow reading and writing of the current users address information.
(if the SysOp has enabled address recording)
Type & Value
STRING
Subscript 0 = Address Line 1 (50 characters max).
Subscript 1 = Address Line 2 (50 characters max).
Subscript 2 = City (25 characters max).
Subscript 3 = State (10 characters max).
Subscript 4 = ZIP Code (10 characters max).
Subscript 5 = Country (15 characters max).
Remarks
This array is filled with information from the current users record
when the GETUSER statement is executed. It may then be changed and
written back to the users record with the PUTUSER statement. Note that
the array is empty until a GETUSER statement is processed and that
changes are not written until a PUTUSER statement is processed.
Additionally, the array will only have meaningful information if the
address PSA is installed. The existence of the address PSA may be
checked with the PSA() function.
Examples
IF (PSA(3)) THEN
GETUSER
INPUT "Addr 1",U_ADDR(0)
INPUT "Addr 2",U_ADDR(1)
INPUT "City ",U_ADDR(2)
INPUT "State ",U_ADDR(3)
INPUT "ZIP ",U_ADDR(4)
INPUT "Cntry ",U_ADDR(5)
PUTUSER
ENDIF
See Also:
GETUSER
PSA()
PUTUSER
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson